<template>
  <div id="app">
      <component :is="showCom"></component>
  </div>
</template>


<script>
    import MenuList from "./page/common/Menu-common"
    import Login from "./page/common/login-page";
export default {
  name: 'app',
    data () {
    return {
	    showCom: 'menulist'
    }
  },
  components: {
    menulist: MenuList,
      login: Login
  },
  methods:{
  }
}
</script>

<style lang="scss">
    html{height: 100%;}
  body{height: 100%;margin: 0;padding: 0;box-sizing: border-box;font-family: 'Avenir', Helvetica, Arial, sans-serif;background-color: #EDF3FC !important;}
  #app{height: 100%;}
  *{
    margin: 0;
    padding: 0;
  }
  ul, li {list-style: none}
  .el-tabs__header{ background-color: #fff;margin: 0 0 10px;}
  .el-tabs__item{font-size: 16px;}
  .all-tips {  margin-left: 50px;padding-left: 10px;font-size: 13px;  }
  .flex-cont1 {  display: flex;justify-content: flex-start;}
  .el-radio__input.is-checked .el-radio__inner{ background-color: #1989fa !important;border-color: #1989fa;}
  .el-radio__inner:hover{ border-color: #1989fa;}
  .el-radio__input.is-checked+.el-radio__label{ color: #1989fa;}
  .note-editor.note-frame{width: 375px;}
  .el-table td, .el-table th{ padding: 0;}
  .el-table td>.cell{text-align: center;padding:5px 4px !important;}
  .el-table th>.cell{text-align: center;padding:0px 4px !important;height: 40px;line-height: 40px;}
  .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner{ background-color:#1989fa; border-color:#1989fa;}
  .el-checkbox__input.is-checked+.el-checkbox__label{ color: #1989fa !important;}
  .el-pager li.active,.el-pager li:hover{color: #1989fa !important; }
  .el-tree-node__content{ height: 50px !important;}
  .is-current{color: #1989fa  !important;}
  .is-expanded.is-current{ color: #606266 !important;background-color: #fff !important;}
  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{ background-color: #1989fa !important;color: #fff !important;}
  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content .el-tree-node__expand-icon{ color: #fff !important;}
  // .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content .btn_list .el-button--text{ color: #fff;}
  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content .btn_list .el-button{ background-color: #fff !important;}
  .el-tree--highlight-current .el-tree-node .el-tree-node__content .btn_list .el-button{ background-color: #fff !important;}

  .el-tree-node__content{position: relative !important;}
  .dialog-con .picture{
    max-width: 300px;
    height: auto;
  }
   .el-input{ width: 200px !important;}

    // 上传图片
  .avatar-uploader {
    .el-upload {
      cursor: pointer;
      position: relative;
      overflow: hidden;
      .avatar-uploader-icon {
        font-size: 28px;
        color: #8c939d;
        width: 148px;
        height: 148px;
        line-height: 146px;
        text-align: center;
        border: 1px dashed #d9d9d9 !important;
        border-radius: 6px;
      }
      .avatar {width: 178px;height: 178px;display: block;}
    }
    .el-upload:hover {
      border-color: #20a0ff;
    }
    .up-tips{ color: #fc0000;}
  }
  // .note-toolbar-wrapper.panel-default{
  //   height: 0px!important;
  // }
  // 列表
    .message-edit, .news-edit, .organ-edit, .rule, .deal {
        .el-form-item__content {
            line-height: normal!important;
        }
    }

  .container {
    width: 100% !important;
    .header{padding: 12px;background-color: #fff;.el-button{padding:8px 10px; span{display: inline-block;a{display: inline-block;}}}}
    .header_top{background-color: #fff;padding:5px 12px;position: relative;
      p{font-size: 16px;margin: 0;height: 30px;line-height: 30px;}
      .el-button{position: absolute;right:20px;top:5px;padding:8px 10px !important;}
    }

    .input_modal {
      padding:12px 12px 7px;
      background-color: #fff;
      margin-top: 10px;
      .car_item{ padding-right:70px;}
      .input-item{
        display: inline-block;
        margin-right: 20px;
        margin-bottom:5px;
        clear: both;
        height: 30px;
        line-height: 30px;
        position:relative;
        .el-input{ width: 200px !important;}
        .el-input,.el-button, .el-select{ margin-right: 10px;height: 30px !important;}
        .el-input__inner{  height: 30px !important;}
        .el-input__icon{ line-height: 30px !important;height: 30px;}
        .el-date-editor .el-range-separator{ line-height: 22px;width: 10%;}
        .el-button--medium{ padding:8px 10px !important;}
        .distpicker-address-wrapper{display:inline-block;height: 30px;position: relative;
          select{-webkit-appearance: none;background-color: #fff;border-radius: 4px;border: 1px solid #dcdfe6;box-sizing: border-box;color: #606266;display: inline-block;
            font-size: inherit;height: 30px;line-height: 1;outline: 0;padding: 0 40px 0 20px;-webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
            transition: border-color .2s cubic-bezier(.645,.045,.355,1);margin-right: 20px !important;}
          select:focus{ border-color: #409eff;}
          .cret1{position: absolute;left: 170px;top:15px;width: 7px;height: 7px;border-right:1px solid #c0c4cc;border-bottom:1px solid #c0c4cc;
            -webkit-transform: rotate(45deg);transform: rotate(45deg);display: block;}
          .cret2{position: absolute;right: 30px;top:15px;width: 7px;height: 7px;border-right:1px solid #c0c4cc;border-bottom:1px solid #c0c4cc;
            -webkit-transform: rotate(45deg);transform: rotate(45deg);}
        }
        .car{
          position:absolute;
          left:50px;
          top:0px;
          height:30px;
        }
      }
    }
    .table_con{ background-color: #fff;padding: 10px;margin-top: 10px;
      .el-button--mini{ padding:8px !important;margin-left: 4px!important;}
      .el-button--mini:first-child{margin-left: 0px!important; }
      .avatar{
        width: 100%;
        height:40px;
        overflow: hidden;
        text-align: center;
        img{ width:40px;height:40px;display:inline-block;border-radius:50%;}
      }
      .img{
        width:50px;height:40px;display: inline-block; vertical-align:middle;
      }
      .picture{
        width: 100%;
        height:50px;
        overflow: hidden;
        text-align: center;
        img{ width:auto;height:50px;display: inline-block;}
      }
      .card{
        display: inline-block;
        height: 60px;
        img{
          height: 60px;
          width: auto;
        }
      }
      .banner{
        width: 100%;
        height:80px;
        overflow: hidden;
        text-align: center;
        img{ width:auto;height:80px;display: inline-block;}
      }
    }
    .pagination {text-align: right;margin-top: 10px;background-color: #fff;padding:8px;display: block !important;}
    .el-button{ background-color: #1989fa !important; border:1px solid #1989fa; }
    .pic{ width:100%;height:40px;overflow: hidden; img{ width:40px;height:40px;display: inline-block;}}
  }

  //  编辑
  .container{
    .el-button--primary{ background-color: #1989fa !important; border:1px solid #1989fa; }
    .square{
      width: 30px;
      height: 30px;
      padding: 0;
      border-radius: 50%;
      margin-left: 10px;
      background-color: #fc0000 !important;
      border:none !important;
    }
    .header{
      background-color: #fff;
      padding:5px 12px;
      height: 40px;
      line-height: 40px;
      position: relative;
      p{font-size: 16px;margin: 0;height: 30px;line-height: 30px;}
      .el-button{position: absolute;right:20px;top:5px;padding:8px 10px !important;}
    }
    .main {
      margin-top: 10px;
      clear: both;
      background-color: #fff;
      padding: 16px;
      .el-input,.el-select {width: 250px;}
      .el-form-item{ margin-bottom:10px;}
      .modal-body{
        .note-image-input{display: block;}
      }
      .sub_title{
        height: 30px;
        line-height: 30px;
        margin-left: 50px;
        font-weight: 600;
        padding-left: 10px;
        border-left: 4px solid #1989fa;
        margin-top:20px;
        margin-bottom: 10px;
        .el-button{
          margin-left: 20px;
          height: 30px;
          line-height: 30px;
          padding: 0 10px;
        }
      }
      .table{
        margin-left: -70px;
      }
      .picture_list{
        float:left;
        position: relative;
        .tips{
          text-align: center;
        }
      }
    }
  }

  // 详情
  .container_detail{
    .el-button--primary{ background-color: #1989fa !important; border:1px solid #1989fa; }
    .header{background-color: #fff;padding:5px 12px;position: relative;
      p{font-size: 16px;margin: 0;height: 40px;line-height: 40px;}
      .el-button{position: absolute;right:20px;top:10px;padding:8px 10px !important;}
    }
    .main {
      margin-top: 10px;
      background-color: #fff;
      padding: 16px;
      clear: both;
      .list{
        .title{padding-left: 20px;height: 40px;line-height: 40px;background-color: #f5f5f5;border: 1px solid #dedede;font-weight: 600;}
        .noborder-top{border-top:none;}
        .item{
          border: 1px solid #dedede;
          border-top:none;
          position: relative;
          padding-left: 180px;
          .item-key{
            position: absolute;
            left: 0;
            top:0;
            width: 160px;
            padding:10px;
            text-align: right;
            box-sizing: content-box;
          }
          .item-value{
            min-height:21px;
            padding: 10px;
            border-left: 1px solid #dedede;
            section{
              display: inline-block;
              height: 40px;
              img{ height: 36px;width: 36px;border-radius: 50%;}
            }
            box-sizing: content-box;
          }
        }
        .item-pic{
          .item-value{padding-left:0;height: 100px;
            section{
              width: 100px;
              padding:0 10px;
              text-align: center;
              float: left;
              height: 100px;
              overflow: hidden;
              text-align: center;
              img{
                min-height: 100px;
                min-width: 100px;
                display: inline-block;
                border-radius: 0;
              }
            }
          }
          .item_col_3{
            display: inline-block;
            width: 33.3%;
          }

        }
      }
    }
  }

  .flex-cont {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .flex-box-justify {
    display: flex;
    justify-content: center;
  }

  .flex-box-align{
    display: flex;
    align-items: center;
  }

  .flex-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .flex-box-container {
    display: flex;
    flex-wrap: wrap;
  }

  .flex {
    flex:1;
  }


  .dialog_table {
    .el-table-column--selection.is-leaf {
      &:first-child {
        .cell {
          display: none;
        }
      }
    }
  }
  .reword-list-ul {
    li {
      display: flex;
      border-bottom: 1px solid #eee;
      &:first-child {
        background-color: #eee;
        border-bottom: none;
      }
    }
  }

    .el-vue-search-box-container {
        width: 260px!important;
        box-shadow: 2px 2px 2px 2px rgba(0,0,0,.15)!important;
        .search-box-wrapper {
            flex:none!important;
        }
        input{
            flex: none!important;
            width: 200px !important;
        }
    }

    .amap-demo {
        height: 300px;
    }

    .search-box {
        /*position: absolute;*/
        /*top: 25px;*/
        /*left: 20px;*/
    }

    .amap-page-container {
        position: relative;
        width: 360px;
        height: 360px;
    }

    .el-form-item__label {
        font-weight: 500;
        color: #000;
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 20px;
    }

    .border {
        .el-form{
            border: 1px solid #ccc;
            .el-form-item {
                margin-bottom: 0;
                border-bottom: 1px solid #ccc;
                border-left: 1px solid #ccc;
                &:last-child {
                    border-bottom: 0;
                }
                .el-form-item__label {
                    padding: 10px 0;
                    padding-right: 30px;

                }
                .el-form-item__content {
                    padding: 10px 0;
                    padding-left: 30px;
                    border-left: 1px solid #ccc;
                    &:before, &:after {
                        content: '';
                        display: inline-block;
                    }
                }
            }
        }
    }
</style>
